package www.openteam.com.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 带审核订单的子项
 * Created by kylin on 2016/9/27.
 */

public class OrderApprovalitem implements Parcelable {

    private int mark;
    private int id;
    private String prodno;
    private String prodname;
    private int paynumb;
    private int othernumb;
    private float price;
    private float submeoney;
    private float orderamount;
    private float numb;
    private String printcolor;
    private String wraptype;
    private String senddate;
    private String status;
    private String paperinf;
    private String technicsinf;
    private String CustOrderId2;
    private String CustMaterialID;


    public OrderApprovalitem() {

    }

    public int getMark() {
        return mark;
    }

    public void setMark(int mark) {
        this.mark = mark;
    }

    public String getTechnicsinf() {
        return technicsinf;
    }

    public void setTechnicsinf(String technicsinf) {
        this.technicsinf = technicsinf;
    }

    public String getPrintcolor() {
        return printcolor;
    }

    public void setPrintcolor(String printcolor) {
        this.printcolor = printcolor;
    }

    public String getWraptype() {
        return wraptype;
    }

    public void setWraptype(String wraptype) {
        this.wraptype = wraptype;
    }

    public String getSenddate() {
        return senddate;
    }

    public void setSenddate(String senddate) {
        this.senddate = senddate;
    }

    public String getPaperinf() {
        return paperinf;
    }

    public void setPaperinf(String paperinf) {
        this.paperinf = paperinf;
    }

    public float getNumb() {
        return numb;
    }

    public void setNumb(float numb) {
        this.numb = numb;
    }

    private String statusn;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getProdno() {
        return prodno;
    }

    public void setProdno(String prodno) {
        this.prodno = prodno;
    }

    public String getProdname() {
        return prodname;
    }

    public void setProdname(String prodname) {
        this.prodname = prodname;
    }

    public int getPaynumb() {
        return paynumb;
    }

    public void setPaynumb(int paynumb) {
        this.paynumb = paynumb;
    }

    public int getOthernumb() {
        return othernumb;
    }

    public void setOthernumb(int othernumb) {
        this.othernumb = othernumb;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public float getSubmeoney() {
        return submeoney;
    }

    public void setSubmeoney(float submeoney) {
        this.submeoney = submeoney;
    }

    public float getOrderamount() {
        return orderamount;
    }

    public void setOrderamount(float orderamount) {
        this.orderamount = orderamount;
    }

    public String getStatusn() {
        return statusn;
    }

    public void setStatusn(String statusn) {
        this.statusn = statusn;
    }


    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCustOrderId2() {
        return CustOrderId2;
    }

    public void setCustOrderId2(String custOrderId2) {
        CustOrderId2 = custOrderId2;
    }

    public String getCustMaterialID() {
        return CustMaterialID;
    }

    public void setCustMaterialID(String custMaterialID) {
        CustMaterialID = custMaterialID;
    }


    @Override
    public int describeContents() {

        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(id);
        dest.writeInt(paynumb);
        dest.writeInt(othernumb);
        dest.writeFloat(price);
        dest.writeFloat(submeoney);
        dest.writeFloat(orderamount);
        dest.writeFloat(numb);
        dest.writeString(prodno);
        dest.writeString(prodname);
        dest.writeString(prodno);
        dest.writeString(paperinf);
        dest.writeString(technicsinf);
        dest.writeString(printcolor);
        dest.writeString(wraptype);
        dest.writeString(senddate);
        dest.writeString(status);
        dest.writeString(paperinf);
        dest.writeString(technicsinf);
        dest.writeString(CustOrderId2);
        dest.writeString(CustMaterialID);
    }


    public static final Parcelable.Creator<OrderApprovalitem> CREATOR =
            new Creator<OrderApprovalitem>() {
                @Override
                public OrderApprovalitem createFromParcel(Parcel source) {
                    return new OrderApprovalitem(source);
                }

                @Override
                public OrderApprovalitem[] newArray(int size) {
                    return new OrderApprovalitem[size];
                }
            };

    public OrderApprovalitem(Parcel in) {
        id = in.readInt();
        paynumb = in.readInt();
        othernumb = in.readInt();
        price = in.readFloat();
        submeoney = in.readFloat();
        orderamount = in.readFloat();
        numb = in.readFloat();
        prodno = in.readString();
        prodname = in.readString();
        prodno = in.readString();
        paperinf = in.readString();
        technicsinf = in.readString();
        printcolor = in.readString();
        wraptype = in.readString();
        senddate = in.readString();
        status = in.readString();
        paperinf = in.readString();
        technicsinf = in.readString();
        CustOrderId2 = in.readString();
        CustMaterialID = in.readString();
    }
}
